//
//  BaseListViewController.h
//  CarDeal_IOS
//
//  Created by 孙可 on 2019/2/19.
//  Copyright © 2019年 sunke. All rights reserved.
//

#import "BaseChildViewController.h"
#import "ListProtocol.h"

@interface BaseListViewController<__covariant T> : BaseChildViewController<UITableViewDelegate,UITableViewDataSource,ListProtocol,DZNEmptyDataSetSource, DZNEmptyDataSetDelegate>
{
    @public
    NSMutableArray * _array;
    UITableView * _dataRyc;
}

@property(nonatomic,strong)NSMutableArray<T> * array;

@property(nonatomic,strong)UITableView * dataRyc;

-(BOOL)isNeedRefresh;

-(BOOL)isNeedLoadMore;

-(UITableViewCell *)getCell;

-(T)getObjectAtIndex : (NSIndexPath *) index;

-(void)initData;


-(void)makeConstraint;

@end
